from django.conf.urls import url
from . import views


urlpatterns = [
    url(r'^areas/$',views.AreasView.as_view()),
    url(r'^areas/(?P<pk>\d+)/$',views.AreaView.as_view()),
    url(r'^addresses/$',views.AddressesView.as_view()),
    # url(r'^addresses/$',views.AddressesView.as_view()),
    url(r'^addresses/(?P<pk>\d+)/title/$',views.TitleView.as_view()),
    url(r'^addresses/(?P<pk>\d+)/$',views.AddressUpdateView.as_view()),
    # url(r'^addresses/(?P<pk>\d+)/$',views.AddressDeleteView.as_view()),
]